package demo.yaxin.com.myapplication;

/**
 * Created by 12457 on 2017/8/2.
 */

import android.app.Application;
import android.util.Log;

import com.tencent.smtt.sdk.QbSdk;

/**
 * Created by ljh
 * on 2016/12/22.
 */
public class App extends Application {


    @Override
    public void onCreate() {
        super.onCreate();
        //增加这句话
        QbSdk.initX5Environment(this, new QbSdk.PreInitCallback() {
            @Override
            public void onCoreInitFinished() {
                LogUtil.LogShitou("App--onCoreInitFinished", "111111");
            }

            @Override
            public void onViewInitFinished(boolean b) {
                Log.e("print","加载内核是否成功:"+b);
            }
        });
        ExceptionHandler.getInstance().initConfig(this);
    }


}
